package com.zjpavt.client.extenddevice.voltagecurrent;

/**
 * 温湿度设备
 * @author zyc
 */
public interface ITemperatureAndHumidityDevice extends IHumidityDevice,ITemperatureDevice {
    @Override
    double getHumidity();

    @Override
    IHumidityDevice updateHumidityInformation();

    @Override
    ITemperatureDevice updateTmpInformation();

    @Override
    int getTemperatureThreshold();

    @Override
    double getTemperature();

    /**
     * 设置温度阈值 启动降温措施
     * @param temperatureThreshold 温度阈值
     * @return 设置是否成功
     */
    @Override
    boolean setTemperatureThreshold(double temperatureThreshold);
}
